﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Card.Utility;

namespace Card.Entity
{
    /// <summary>
    /// 实体类Area。(对应AREA表)
    /// <remarks>属性说明自动提取数据库字段的描述信息</remarks>
    /// </summary>
    public class Area
    {
        public Area()
        { }

        #region 私有变量
        private int _ID;
        private string _name;
        private int _parentAreaID;
        private string _areaType;
        private int _sort;
        private string _siteCode;
        private string _siteUrl;
        private string _isActive;
        #endregion 私有变量

        #region 公开属性

        /// <summary>
        /// ID
        /// <remarks>对应字段ID</remarks>
        /// </summary>
        [Json]
        public int ID
        {
            set { _ID = value; }
            get { return _ID; }
        }

        /// <summary>
        /// NAME
        /// <remarks>对应字段NAME</remarks>
        /// </summary>
        [Json]
        public string Name
        {
            set { _name = value; }
            get { return _name; }
        }

        /// <summary>
        /// PARENT_AREA_ID
        /// <remarks>对应字段PARENT_AREA_ID</remarks>
        /// </summary>
        [Json]
        public int ParentAreaID
        {
            set { _parentAreaID = value; }
            get { return _parentAreaID; }
        }

        /// <summary>
        /// AREA_TYPE
        /// <remarks>对应字段AREA_TYPE</remarks>
        /// </summary>
        [Json]
        public string AreaType
        {
            set { _areaType = value; }
            get { return _areaType; }
        }

        /// <summary>
        /// SORT
        /// <remarks>对应字段SORT</remarks>
        /// </summary>
        [Json]
        public int Sort
        {
            set { _sort = value; }
            get { return _sort; }
        }
        [Json]
        public string SiteCode
        {
            get { return _siteCode; }
            set { _siteCode = value; }
        }
        /// <summary>
        /// ATTRIBUTE1
        /// <remarks>对应字段ATTRIBUTE1</remarks>
        /// </summary>
        [Json]
        public string SiteUrl
        {
            set { _siteUrl = value; }
            get { return _siteUrl; }
        }

        /// <summary>
        /// ATTRIBUTE2
        /// <remarks>对应字段ATTRIBUTE2</remarks>
        /// </summary>
        [Json]
        public string IsActive
        {
            set { _isActive = value; }
            get { return _isActive; }
        }
       
        #endregion 公开属性

    }
}
